package com.tanhua.manage.controller;

import com.tanhua.manage.service.SummaryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;

@RequestMapping("/dashboard")
@RestController
public class SummaryController {

    @Autowired
    private SummaryService summaryService;

    //概要统计信息
    @GetMapping("/summary")
    public ResponseEntity<Object> showSummary(){
        return summaryService.showSummary();
    }


}
